package com.menggudf.model;

import java.io.Serializable;
import java.util.List;

public class OnePermissionModel implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = -2613414859475703816L;
    
    private String name;
    private boolean open;
    private Integer id;
    private Integer pId;
    List<TwoPermissionModel> children;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public boolean isOpen() {
        return open;
    }
    public void setOpen(boolean open) {
        this.open = open;
    }
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getpId() {
        return pId;
    }
    public void setpId(Integer pId) {
        this.pId = pId;
    }
    public List<TwoPermissionModel> getChildren() {
        return children;
    }
    public void setChildren(List<TwoPermissionModel> children) {
        this.children = children;
    }
    
}
